package com.briup.ptp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.briup.ptp.entity.Disease;
import com.briup.ptp.entity.Pig;
import org.springframework.boot.Banner;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Classname IllnessMapper
 * @Description TODO
 * @Date 2024/2/25 15:22
 * @Created by ASUS
 * @Version v1.0.0
 */
@Repository
public interface IllnessMapper extends BaseMapper<Disease> {
    List<Disease> findIllness(String name );

    void saveI(Disease disease);

    void updateI(Disease disease);

    Disease findByIdDisease(Integer id);

    void deleteDisease(Integer id);

    void batchDeleteDisease(List<Integer> id);



}
